home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4094 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 KB

  1. Path: wbmt41.wbmt.tudelft.nl!not-for-mail
  2. From: "Marcel Offermans" <marcel@wbmt41.wbmt.tudelft.nl>
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: How adjust window borders?
  5. Date: Sun, 18 Feb 1996 15:36:04 +0100
  6. Organization: Private TCP/IP node
  7. Message-ID: <50077758@wbmt41.wbmt.tudelft.nl>
  8. References: <19960217.7D84090.A425@mojaveg.ridgecrest.ca.us>
  9. Reply-To: "M.F.Offermans" <M.F.Offermans@WbMT.TUDelft.NL>
  10. NNTP-Posting-Host: wb617197.wbmt.tudelft.nl
  11. X-NewsReader: IntuiNews 1.3a (7.9.95)
  12.  
  13. Hello Everett,
  14.  
  15.  > I wish to be able to directly control the size of the window borders for
  16.  > a window which has no border gadgets or text. The window opens as
  17.  > desired but I would prefer to have all four borders a bit wider. The
  18.  > implications in the RKM are that WA_InnerWidth and WA_InnerHeight should
  19.  > have some effect on border widths, but trying these seems to have no
  20.  > visible effect whatsoever. Any ideas?
  21.  
  22. Using WA_InnerWidth and WA_InnerHeight has nothing to do with adjusting the
  23. dimensions of the borders.
  24.  
  25. What these tags do is allow you to specify the size of the rectangle
  26. within the borders of the window directly. That can be of use if you need
  27. this size to be exactly M x N pixels and you don't want to calculate the
  28. dimensions of the borders (which can get a bit tricky).
  29.  
  30. So if you open a window with an inner width of 100 and an inner height of
  31. 50, then the actual window dimensions will be a bit bigger then that
  32. (something like 110 by 65).
  33.  
  34. --
  35.      .---------------------------------------------------------------.
  36.      |     \   |    Marcel Offermans -- Amiga Developer    |     \   |
  37.      |  \   \  |   e-mail: M.F.Offermans@WbMT.TUDelft.NL   |  \   \  |
  38.      |   \     |                IRC: Marrs                 |   \     |
  39.      `---------------------------------------------------------------'
  40.  
  41.